package com.example.hs.Repository;

import com.example.hs.Pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Integer> {
    User findByNumAndPassword(Long num, String password);

    boolean existsBynum(Long num);
}
